package com.zemb.flxwear.Bean;

import android.provider.Contacts;

import com.zemb.flxwear.Adapter.CategoryAdapter;
import com.zemb.flxwear.Utils.DeviceUtils;

import java.io.Serializable;

public class CategoryBean  implements Serializable {
    public int imageId;
    public String name;
    public DeviceUtils.Category tag;

    public DeviceUtils.UIType uiType;
    public CategoryBean(int imageId, String name, DeviceUtils.Category tag){
        this.imageId = imageId;
        this.name = name;
        this.tag = tag;
    }
    public CategoryBean(int imageId, String name, DeviceUtils.UIType uiType){
        this.imageId = imageId;
        this.name = name;
        this.uiType = uiType;
    }

    public String getName() {
        return name==null?"":name;
    }

    public DeviceUtils.Category getTag() {
        return tag==null?DeviceUtils.Category.BLOOD_PRESSURE:tag;
    }

    public DeviceUtils.UIType getUiType() {
        return uiType==null?DeviceUtils.UIType.CONNECT:uiType;
    }

    public int getImageId() {
        return imageId;
    }
}
